﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Orleans.Grains.StateType
{
    /// <summary>
    ///  事件执行方法基类
    /// </summary>
    public abstract class BasicStateType<T> where T : class
    {
        /// <summary>
        /// 事件执行逻辑
        /// </summary>
        /// <param name="event"></param>
        public abstract void Apply(T @event);

    }
}
